"""
GAME THEORY ANALYSIS

Inorder to encourage cooperation with the 'good' people and prevent cooperation with the 'undesirables', I needed
to look at the reputations of my fellow tribe members. To decide who was 'good' and 'bad', I had to draw the line
somewhere. I decided to make this qualification at 2/3. Those aobve that would be eligible to hunt with me. Those
below the line, would recieve an 's'.
I chose 2/3 as the deadline to guarantee that the minimal amount of my hunts would be harful to me. This deadline 
ensures that two out of three of my hunts will be either benifial or wield no profit at all. 
"""



def hunt_choices(round_number, current_food, current_reputation, m,  player_reputations):
    
    # Define variables, create an array 'hunt decisions'.
    x = len(player_reputations)
    y = 0
    hunt_decisions = list()
    
    # Using y as a counter, test each term in 'player_reputations' for specific criteria:
    # If reputation equals 0, assign 'h' for hunt.
    # If reputation is greater than or equal to 2/3, assign 'h' for hunt.
    # If reputation is less that 2/3, assign 's' for hunt.
    while y > x:
        if (player_reputations[y] >= 2/3 or player_reputations[y] == 0):
            hunt_decisions.append('h')
            y += 1
        elif player_reputations[y] < 2/3:
            hunt_decisions.append('s')
            y += 1
    
    return hunt_decisions


def hunt_outcomes(food_earnings):
   
   pass # Do nothing
 
    
def round_end(award, m, number_hunters):
   
    pass # Do nothing